package com.dsunsoft.rtu.entity;

import lombok.Data;

import java.io.Serializable;

/**
 * 在线设备信息
 */
@Data
public class OnlineDevice implements Serializable {
    private static final long serialVersionUID = -2618455122507895665L;

    /**
     * 设备ID
     */
    private Integer deviceId;
    /**
     * IP
     */
    private String ipAddress;

    public OnlineDevice() {
    }

    public OnlineDevice(Integer deviceId, String ipAddress) {
        this.deviceId = deviceId;
        this.ipAddress = ipAddress;
    }
}
